﻿using System.ComponentModel.DataAnnotations;
using Web.Infrastructure.Models;

namespace Web.Models.Account
{
    public class LogOnModel : BaseModel
    {
        [Display(Name = "Введите логин или Email.")]
        public string Email { get; set; }

        [Required]
        [StringLength(256)]
        [DataType(DataType.Password)]
        public string Password { get; set; }

        public bool RememberMe { get; set; }

        [UIHint("hidden")]
        public string ReturnUrl { get; set; }

        [UIHint("hidden")]
        public string Login { get; set; }
    }
}